package com.example.demo.netty.基于Netty实现RPC框架.服务端;

import com.example.demo.netty.基于Netty实现RPC框架.API接口.HelloService;
import org.springframework.stereotype.Service;

//服务端实现
@Service
public class HelloServiceImpl implements HelloService {
    @Override
    public String hello(String name) {
        return "hello, " + name;
    }
}